|
![](/i/fill.gif) |
Mark Wagner <mar### [at] gte net> wrote:
> Because of the way that POV-Ray's random number generator works, it will
> never produce the same number twice in a row (if it did, it would then
> proceed to produce that number every single time).
Then it's a rather poor random number generator, I must say.
In a good random number generator, any combination of two numbers (including
the same number twice) should be about equally probable.
Of course this is a very difficult issue.
I wonder if an approach like the drand48() function would be better.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |